﻿Public Class Persona
    Dim idPersona As Integer
    Dim nombre As String
    Dim apellido As String
    Dim email As String
    Dim documento As Integer
    Dim tipoDocumento As New TipoDocumento
    Dim direccion As New Direccion
    Dim telefono As New List(Of Telefono)


    Public Property _idPersona As Integer
        Get
            Return idPersona
        End Get
        Set(ByVal value As Integer)
            idPersona = value
        End Set
    End Property

    Public Property _nombre As String
        Get
            Return nombre
        End Get
        Set(ByVal value As String)
            nombre = value
        End Set
    End Property

    Public Property _apellido As String
        Get
            Return apellido
        End Get
        Set(ByVal value As String)
            apellido = value
        End Set
    End Property

    Public Property _email As String
        Get
            Return email
        End Get
        Set(ByVal value As String)
            email = value
        End Set
    End Property


    Public Property _documento As Integer
        Get
            Return documento
        End Get
        Set(ByVal value As Integer)
            documento = value
        End Set
    End Property

    Public Property _tipoDocumento As TipoDocumento
        Get
            Return tipoDocumento
        End Get
        Set(ByVal value As TipoDocumento)
            tipoDocumento = value
        End Set
    End Property

    Public Property _direccion As Direccion
        Get
            Return direccion
        End Get
        Set(ByVal value As Direccion)
            direccion = value
        End Set
    End Property

    Public Property _telefono As List(Of Telefono)
        Get
            Return telefono
        End Get
        Set(ByVal value As List(Of Telefono))
            telefono = value
        End Set
    End Property

End Class
